package com.yiduo.outpost.core.security.jwt;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yw
 */
@Configuration
@EnableConfigurationProperties({JwtProperties.class})
public class JwtAutoConfiguration {

    @Bean
    public JwtTokenGenerator jwtTokenGenerator() {
        return new JwtTokenGenerator();
    }
}
